package com.shrikanthravi.customnavigationdrawer;

import com.shrikanthravi.customnavigationdrawer2.utils.JUtils;
import org.junit.Test;

import java.util.logging.Logger;

/**
 * ExampleOhosTest
 *
 * @author wangyin
 * @since 2021/06/23
 */
public class ExampleOhosTest {
    /**
     * 判断字符是否为空
     */
    @Test
    public void jUtils1() {
        boolean isEmpty = JUtils.isEmpty("abc");
        Logger.getLogger("test").info(String.valueOf(isEmpty));
    }

    /**
     * 判断字符是否为空
     */
    @Test
    public void jUtils2() {
        boolean isEmpty = JUtils.isEmpty("");
        Logger.getLogger("test").info(String.valueOf(isEmpty));
    }

    /**
     * 判断是否为null
     */
    @Test
    public void jUtils3() {
        boolean isEmpty = JUtils.isEmpty(null);
        Logger.getLogger("test").info(String.valueOf(isEmpty));
    }
}